package com.pctx.bibadevicemanager.dao;

import com.pctx.bibadevicemanager.pojo.DeviceUser;
import com.pctx.bibadevicemanager.pojo.DeviceUserExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DeviceUserMapper {
    int countByExample(DeviceUserExample example);

    int deleteByExample(DeviceUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DeviceUser record);

    int insertSelective(DeviceUser record);

    List<DeviceUser> selectByExample(DeviceUserExample example);

    DeviceUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DeviceUser record, @Param("example") DeviceUserExample example);

    int updateByExample(@Param("record") DeviceUser record, @Param("example") DeviceUserExample example);

    int updateByPrimaryKeySelective(DeviceUser record);

    int updateByPrimaryKey(DeviceUser record);

    List<Map> shareList(@Param("deviceUuid") String deviceUuid);
}